<h2>Modify Subscriber</h2>
<hr/>
<p>Modify subscriber information using the fields provided:</p>
<center>
<?php echo validation_errors(); ?>
<?php echo $error; ?>
<!-- Subscriber information -->
<table>
<?php echo form_open('staff/subscriber_management/modifySubscriber/' . $subscriber->subscriber_id); ?>
<tr>
	<th width=20% align="right">Subscriber Number:</th>
	<td><?php echo form_input('subscriber_id', $subscriber->subscriber_id); ?></td>
</tr>
<tr>
	<th align="right">First Name:</th>
	<td><?php echo form_input('first_name', $subscriber->first_name); ?></td>
</tr>
<tr>
	<th align="right">Last Name:</th>
	<td><?php echo form_input('last_name', $subscriber->last_name); ?></td>
</tr>
<tr>
	<th align="right">Initials:</th>
	<td><?php echo form_input('initials', $subscriber->initials); ?></td>
</tr>
<tr>
	<th align="right">Title:</th>
	<td><?php echo form_input('title', $subscriber->title); ?></td>
</tr>
<tr>
	<th align="right">Address 1:</th>
	<td><?php echo form_input('address1', $subscriber->address1); ?></td>
</tr>
<tr>
	<th align="right">Address 2:</th>
	<td><?php echo form_input('address2', $subscriber->address2); ?></td>
</tr>
<tr>
	<th align="right">Suburb:</th>
	<td><?php echo form_input('suburb', $subscriber->suburb); ?></td>
</tr>
<tr>
	<th align="right">Post Code:</th>
	<td><?php echo form_input('post_code', $subscriber->post_code); ?></td>
</tr>
<tr>
	<th align="right">Phone:</th>
	<td><?php echo form_input('phone', $subscriber->phone); ?></td>
</tr>
<tr>
	<th align="right">Mobile Phone:</th>
	<td><?php echo form_input('mobile_phone', $subscriber->mobile_phone); ?></td>
</tr>
<tr>
	<th align="right">Work Phone:</th>
	<td><?php echo form_input('work_phone', $subscriber->work_phone); ?></td>
</tr>
<tr>
	<th align="right">* Subscriber Status:</th>
	<?php $options = array('A'=>'Active', 'I'=>'Inactive', 'H'=>'Honorary', 'D'=>'Deceased'); ?>
	<td><?php echo form_dropdown('subscriber_status', $options, $subscriber->subscriber_status); ?></td>
</tr>
<tr>
	<th align="right">Email:</th>
	<td><?php echo form_input('email', $subscriber->email); ?></td>
</tr>
<tr>
	<th align="right" class="tablehead">Actions</th>
	<td><?php echo form_submit('', 'Submit'); ?></td>
</tr>
<?php echo form_close(); ?>
</table>

</center>
